package user
import (
	"time"
)
type GameUser struct {
	UserId uint `gorm:"primary_key" gorm:"column:userId"`
	AreaId uint16 `gorm:"column:areaId"`
	NumId uint `gorm:"column:numId"`
	LoginType int8 `gorm:"column:loginType"`
	LastLoginTime time.Time `gorm:"column:lastLoginTime"`
	Nickname string `gorm:"column:nickname"`
	Head string `gorm:"column:head"`
	Sex string `gorm:"column:sex"`
	RegTime string `gorm:"column:regTime"`
	LoginTime string `gorm:"column:loginTime"`
	RegIp string `gorm:"column:regIp"`
	LoginIp string `gorm:"column:loginIp"`
}
type GameUserResult struct {
	UserId uint `gorm:"column:userId"`
	LastLoginTime time.Time `gorm:"column:lastLoginTime"`
	Nickname string `gorm:"column:nickname"`
	Head string `gorm:"column:head"`
	Sex string `gorm:"column:sex"`
	Exp int32 `gorm:"column:exp"`
	TimeStr string
}
